package zzxkj.blog.imChat.handler.impl;

import lombok.extern.slf4j.Slf4j;
import org.tio.core.ChannelContext;
import org.tio.websocket.common.WsRequest;
import zzxkj.blog.imChat.handler.MsgHandler;

/**
 * 心跳处理器
 * @author zzxkj
 */
@Slf4j
public class PingMsgHandler implements MsgHandler {

    @Override
    public void handler(String data, WsRequest wsRequest, ChannelContext channelContext) {
//        System.out.println("ping~~");
      log.info("ping ping ping ~~~");
    }
}
